package com.xzp.ch02.parameterType;

/**
 * @TODO
 * @Author xu
 * 2025/4/22
 */


    import com.xzp.entity.User;

/**
 * @author chenmin
 * 2025/4/19
 * @desc VO类  QueryVO类辅助于查询条件
 */
public class UserQueryVO {

    //private String username;
    //private String sex;

    //综合查询条件
    //1.用户条件
    private User user;
    //2.订单条件
    //private Order order;
    //3.ID列表
    private Integer[] ids;

    public UserQueryVO() {
    }

    public UserQueryVO(User user, Integer[] ids) {
        this.user = user;
        this.ids = ids;
    }

    /**
     * 获取
     * @return user
     */
    public User getUser() {
        return user;
    }

    /**
     * 设置
     * @param user
     */
    public void setUser(User user) {
        this.user = user;
    }

    /**
     * 获取
     * @return ids
     */
    public Integer[] getIds() {
        return ids;
    }

    /**
     * 设置
     * @param ids
     */
    public void setIds(Integer[] ids) {
        this.ids = ids;
    }

    public String toString() {
        return "UserQueryVO{user = " + user + ", ids = " + ids + "}";
    }
}
